/*
* @Author: 。
* @Date:   2017-09-30 18:01:23
* @Last Modified by:   horistardust
* @Last Modified time: 2017-10-08 13:20:55
*/
table{
	padding: 20px;
	width: 300px;
}

th {
    background-color: #000;
    color: #fff;
    text-align: left;
}

table tr:nth-child(-n+4) td{
	color: red;
}

table tr:nth-child(2n) td{
	background-color: #bbbbbb;
}

/* 输入框 */
.text{
	text-align: center;
	width: 300px;
}
.text input{
	width: 80px;
	transition: all 0.3s ease-in;
	-webkit-transition: all 0.3s ease-in;
}

.text input:focus{
	width: 200px;
}

/* 轮播图 */
.lunbo{
	position: relative;
	width: 300px;
	height: 150px;
	margin-top: 20px;
	overflow: hidden;
}

.lunbo ul{
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	list-style-type: none;
}

.lunbo li{
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	animation: 0.5s slider-out linear;
}

.lunbo li:target{
	left: 0%;
	animation: 0.5s slider-in linear;	
}

@keyframes slider-out{
	0%{
		left: 0%;		
	}
	
	100%{
		left: -100%;
	}
}

@keyframes slider-in{
	0%{
		left: 100%;
	}
	100%{
		left: 0%;
	}
}

.slide1{
	background: url(../task1/image/1.jpg);
	-webkit-background-size: contain;
	background-size: contain;
}

.slide2{
	background: url(../task1/image/2.jpg);
	-webkit-background-size: contain;
	background-size: contain;
}

.slide3{
	background: url(../task1/image/3.jpg);
	-webkit-background-size: contain;
	background-size: contain;
}

.num{
  	display: block;
	position: absolute;
	right: 0;
	bottom: 0;
	text-align: center;
  	z-index: 100;
}

.num a{
	display: block;
	width: 30px;
	height: 30px;
	line-height: 30px;
	margin-left: 10px;
	opacity: .7;
	background-color: #B7B7B7;
	color: #FFFFFF;
	text-decoration: none;
	float: left;
}